import request from '@/utils/request'
// 登录
export const login = data => {
  return request({
    method: 'POST',
    url: '/auth/login',
    data
  })
}

// 获取管理员信息
export const getUserInfo = () => {
  return request({
    url: '/auth/currentUser'
  })
}
